﻿#ifndef PHM_SERVER_H
#define PHM_SERVER_H

#include "communicationprotocol.h"
#include "upwardpro.h"
#include <QObject>

class UPWARDPRO_EXPORT PHM_Server : public UpwardPro {
    Q_OBJECT
public:
    PHM_Server();
    ~PHM_Server();
    virtual int objectInit(std::string mode, void* Para_struct) override;
    virtual int sendDeviceData(void* device_struct) override;
    virtual int sendCharacterData(void* character_struct) override;
    void SnCodeRecCallback(const char data[]);
};

#endif // PHM_SERVER_H
